package com.iwhalecloud.bss.kite.cucc.client.api.batch;

import com.iwhalecloud.bss.kite.client.dto.DataResult;
import com.iwhalecloud.bss.kite.client.dto.cust.CustDTO;
import com.iwhalecloud.bss.kite.cucc.client.dto.batch.KiteBatchAcceptDetail;
import com.iwhalecloud.bss.kite.cucc.client.dto.cust.CuccContextCustDTO;

/**
 * @author : xie.zhengjun
 * @interface : IBatchAcceptAdjustmentService
 * @description : 批量受理调整记录相关服务
 * @date : 2021/6/3 10:40
 */
public interface IBatchAcceptAdjustmentService {

    String instantiate(String sceneInstId, KiteBatchAcceptDetail kiteBatchAcceptDetail, CuccContextCustDTO contextCust,
        CustDTO custDTO);

    Boolean saveModification(String sceneInstId, String batchId, String detailId);

    Boolean cancelModification(String sceneInstId, String custId);

    Boolean deleteRecord(String batchId, String sceneInstId, String custId, String detailId);

    Boolean back2UploadPage(String sceneInstId);

    DataResult<String> commitInstantiate(String sceneInstId, String batchId);

    Boolean recommit(String batchId);

    Boolean commitJob();
}
